וַיֵּ֣דַע דָּוִ֔ד כִּֽי־הֱכִינ֧וֹ יְהוָ֛ה לְמֶ֖לֶךְ עַל־יִשְׂרָאֵ֑ל וְכִי֙ נִשֵּׂ֣א מַמְלַכְתּ֔וֹ בַּעֲב֖וּר עַמּ֥וֹ יִשְׂרָאֵֽל׃ (ס)
And David perceived that the LORD had established him king over Israel, and that He had exalted his kingdom for His people Israel’s sake.
Read halakhic rulings (Jewish law) on II Samuel 5:12 from the Mishneh Torah and classical halakhic sources, free online.